package com.wframe.project.jnd.services;

import com.frame.database.JdataBean;
import com.frame.database.PageResult;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface IntegralService {

    PageResult queryIntegralList(JdataBean parms, int pagesize, int pageno) throws Exception;

    List<JdataBean> queryWXIntegralList(String userid);

    JdataBean queryUserIntegrals(String userid) throws Exception;

    List<JdataBean> queryExchangeCoupon();

    String exchangeCoupon(String userid, String couponid, Integer platform) throws Exception;

    Boolean updateUserIntegral(String userid,String integral, JdataBean parms) throws Exception;

    JdataBean getIntegralRules();
}
